package Student;
import java.util.Scanner;

public class Student1Test {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        Student1 student = new Student1();

        System.out.println("请输入你的语文成绩");
        double Ch = scanner.nextDouble();
        student.setScoreCh(Ch);
        System.out.println("请输入你的数学成绩");
        double Mth = scanner.nextInt();
        student.setScoreMath(Mth);
        System.out.println("请输入你的英语成绩");
        double En = scanner.nextDouble();
        student.setScoreEn(En);

        System.out.println("您的平均成绩是：" + student.aver());
        System.out.println("您的最好成绩是：" + student.max());

    }

}
